//
//  ShareService.h
//  yilule
//
//  Created by lidi on 15/5/21.
//  Copyright (c) 2015年 topview. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UMCommon/UMCommon.h>
#import <UMShare/UMShare.h>

static NSString *SHARE_URL = @"";

//友盟
static NSString *UMAppKey = @"562f11ffe0f55a6fc90009f5";

//微信
static NSString *WXAppId     = @"wxd124449152781a2c";
static NSString *WXAppSecret = @"d4440372c5cd6b89d09ea978fbb1f45f";

//新浪
static NSString *SINARedirectURL = @"http://sns.whalecloud.com/sina2/callback";

//QQ
static NSString *QQAppId = @"1104884296";
static NSString *QQAppKey = @"b6Gpwq1iD8dszcpH";


/**
 *  程序第三方分享以及统计相关的业务
 */
@interface ShareService : NSObject
+ (void)registerUMeng;
+ (void)registerWechat;
+ (void)registerSina;
+ (void)registerQQ;

+ (void)share:(UIViewController *)controller
          url:(NSString *)url
        title:(NSString *)title
        image:(NSString *)imageUrl
   completion:(UMSocialRequestCompletionHandler)completion;
@end
